$.get(
  "http://chst.vip:1234/api/getsitenav",
  {},
  (res) => {
    let html = "";
    $(res.result).each((i, item) => {
      console.log(item.navImg);

      html += `
        <li>
         <img src= ${item.navImg}>
        ${item.navTitle}
        </li>
        `;
    });
    $(".contenttop").html(html);
  },
  "json"
);
